<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="http://api.map.baidu.com/api?v=2.0&ak=zc8IbOv8nA8HxKHxHR1wvNw3IPAe4Lhs" type="text/javascript"></script>

</head>
<body>
<div  id="map"></div>
</body>
</html>
<script>
    var map=new BMap.Map('map');
    var point = new BMap.Point(116.404,39.915);
    map.centerAndZoom(point,20);
    var local =new BMap.LocalSearch(map,{
        renderOptions:{
            map:map
        }
    });
    local.search("企商在线");
</script>